<?php
include_once('inc/functions.inc.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Ingreso de partidas</title>
<link href="../css/conta.css" rel="stylesheet" type="text/css" />
<link href="../css/maintenance_v2.css" rel="stylesheet" type="text/css" />
<link href="../libs/jquery.ui/jquery.ui.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/jquery.js" language="javascript"></script>
<script type="text/javascript" src="../libs/jquery.ui/jquery.ui.min.js" language="javascript"></script>
<script type="text/javascript" src="../libs/jquery.formatcurrency/jquery.formatcurrency.js" language="javascript"></script>
<script type="text/javascript" src="../js/admin_contabilidad_partidas.js" language="javascript"></script>
</head>
<body>
<form name="frmPartidas" id="frmPartidas" method="post" action="">
<div id="frmPartidas-contenedor">
    <div id="frmPartidas-encabezado" class=""><b>Polizas Manuales</b></div>
    <div id="frmPartidas-empresa">
    <?php
    $intSelectedID = getParam("sltEmpresa");
    drawEmpresa($db, $intSelectedID);
    ?>
    </div>
    <div id="frmPartidas-de" class="ui-tabs ui-widget ui-widget-content ui-corner-all" style="height: auto;">
        <div id="frmPartidas-de-mensaje"></div>
        <div id="frmPartidas-de-controles">
            <button id="frmPartidas-grabar" type="button">Grabar</button>
        </div>
        <div id="frmPartidas-maqueta" style="width: 440px; height: 90px;" >
            <div style="float:left; width: 100px; height: 30px;"><b>&nbsp;Fecha:</b></div>
            <div style="float:left; width: 340px; height: 30px;">
                <input type="text" name="frmPartidas_fecha" id="frmPartidas_fecha" value="" maxlength="10" size="10"/>
            </div>
            <div style="float:left; width: 100px; height: 30px;"><b>&nbsp;Descripción:</b></div>
            <div style="float:left; width: 340px; height: 30px;">
                <textarea style="width: 100%; height: 30px;" id="frmPartidas_descripcion"></textarea>
            </div>                
        </div>
        <div id="frmPartidas-detalle" style="width: 800px;">
            <div style="float: left; width: 400px; height: 30px; border-bottom: 1px solid black;"><b>Cuenta</b></div>
            <div style="float: left; width: 200px; height: 30px; border-bottom: 1px solid black; text-align: center;"><b>Debe</b></div>
            <div style="float: left; width: 200px; height: 30px; border-bottom: 1px solid black; text-align: center;"><b>Haber</b></div>
            <div style="float: left; width: 400px; height: 10px;">&nbsp;</div>
            <div style="float: left; width: 200px; height: 10px;">&nbsp;</div>
            <div style="float: left; width: 200px; height: 10px;">&nbsp;</div>
        </div>
        <div id="frmPartidas-totales" style="width: 800px;">
            <div class="frmPartidasSerch" style="border-collapse: separate; border-bottom: 1px solid black;">&nbsp;</div>
            <div class="frmPartidasValores" style="border-collapse: separate; border-bottom: 1px solid black;">&nbsp;</div>
            <div class="frmPartidasValores" style="border-collapse: separate; border-bottom: 1px solid black;">&nbsp;</div>
            <div class="frmPartidasSerch" style="margin-top: 5px; text-align: right;"><b>Totales</b></div>
            <div class="frmPartidasValores" style="margin-top: 5px;"><input type="text" name="txtTotalDebe" id="txtTotalDebe" value="" class="frmPartidasValoresInputs" readonly="readonly"></div>
            <div class="frmPartidasValores" style="margin-top: 5px;"><input type="text" name="txtTotalHaber" id="txtTotalHaber" value="" class="frmPartidasValoresInputs" readonly="readonly"></div>
        </div>
        <div style="width: 900px; float: left;">&nbsp;</div>
        <div style="width: 900px; text-align: center; float: left;">
            <button id="frmPartidas-grabar2" type="button">Grabar</button>
        </div>
    </div>
</form>
</body>
</html>